package com.fjb.pojo.bill;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 用户账户
 * </p>
 *
 * @author hemiao
 * @since 2020-02-08
 */
public class SysUserAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer mainUserId;

    private Integer userId;

    /**
     * 总金额  默认0
     */
    private BigDecimal totalMoney;

    /**
     * 冻结的金额
     */
    private BigDecimal freezeMoney;

    /**
     * 总收入
     */
    private BigDecimal lncomeMoney;

    /**
     * 总支出
     */
    private BigDecimal expendMoney;

    /**
     * 状态   1、正常     2、冻结  	
     */
    private Integer accountStatus;

    private LocalDateTime createTime;

    private Integer createUserId;

    private LocalDateTime updateTime;

    private Integer updateUserId;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getMainUserId() {
        return mainUserId;
    }

    public void setMainUserId(Integer mainUserId) {
        this.mainUserId = mainUserId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }
    public BigDecimal getFreezeMoney() {
        return freezeMoney;
    }

    public void setFreezeMoney(BigDecimal freezeMoney) {
        this.freezeMoney = freezeMoney;
    }
    public BigDecimal getLncomeMoney() {
        return lncomeMoney;
    }

    public void setLncomeMoney(BigDecimal lncomeMoney) {
        this.lncomeMoney = lncomeMoney;
    }
    public BigDecimal getExpendMoney() {
        return expendMoney;
    }

    public void setExpendMoney(BigDecimal expendMoney) {
        this.expendMoney = expendMoney;
    }
    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "SysUserAccount{" +
        "id=" + id +
        ", mainUserId=" + mainUserId +
        ", userId=" + userId +
        ", totalMoney=" + totalMoney +
        ", freezeMoney=" + freezeMoney +
        ", lncomeMoney=" + lncomeMoney +
        ", expendMoney=" + expendMoney +
        ", accountStatus=" + accountStatus +
        ", createTime=" + createTime +
        ", createUserId=" + createUserId +
        ", updateTime=" + updateTime +
        ", updateUserId=" + updateUserId +
        ", remark=" + remark +
        "}";
    }
}
